import * as types from '../actiontype/ActionTypes';

export function showMask(component) {
  return dispatch => {
      dispatch({
          type: types.MASK_SHOW,
          component
      })
  }
}

export function closeMask() {
  return dispatch => {
      dispatch({
          type: types.MASK_CLOSE
      })
  }
}
